package comdawnling.kotlindemo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import java.util.ArrayList;
import java.util.List;

public class JavaActivity extends AppCompatActivity implements View.OnClickListener{
    private TextView tv;
    private int i;
    private List<String> mList = new ArrayList<>();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_java);
        tv = findViewById(R.id.tv);

        switch (i){
            case 0:
                break;
            case 1:
                break;
                default:
                    break;
        }

        for (int i = 0; i < mList.size(); i++){
            mList.add("item：" + i);
        }
    }

    @Override
    public void onClick(View v) {

    }
}